<?php

/* -----------------------------------------------------------------
 * 	$Id: cart_specials.php 522 2013-07-24 11:44:51Z akausch $
 * 	Copyright (c) 2011-2021 commerce:SEO by Webdesign Erfurt
 * 	http://www.commerce-seo.de
 * ------------------------------------------------------------------
 * 	based on:
 * 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
 * 	(c) 2002-2003 osCommerce - www.oscommerce.com
 * 	(c) 2003     nextcommerce - www.nextcommerce.org
 * 	(c) 2005     xt:Commerce - www.xt-commerce.com
 * 	Released under the GNU General Public License
 * --------------------------------------------------------------- */
$data = $product->cartSpecials();
if (sizeof($data) > 1) {
    $module_smarty = new Smarty;
    $module_smarty->assign('language', $_SESSION['language']);
    $module_smarty->assign('module_content', $data);
	$module_smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/');
    $module_smarty->assign('cart_specials', true);
    $module_smarty->assign('TITLE', CART_SPECIAL);
    $module_smarty->assign('CLASS', 'cart_specials');
    $module_smarty->assign('DEVMODE', USE_TEMPLATE_DEVMODE);
    $module_smarty->caching = false;
    $module = $module_smarty->fetch(cseo_get_usermod(CURRENT_TEMPLATE . '/module/product_listing/product_listings.html', USE_TEMPLATE_DEVMODE));
    $smarty->assign('MODULE_cart_specials', $module);
}
